cmake_minimum_required(VERSION 3.20)
project(mysql_utils01)

set(CMAKE_CXX_STANDARD 14)


# 头文件路径
set(INC_DIR /Users/admin/CLionProjects/cpp/mysql_utils)
# 库文件路径
set(LIB_DIR /Users/admin/CLionProjects/cpp/mysql_utils/cmake-build-debug)

include_directories(${INC_DIR})
link_directories(${LIB_DIR})
link_libraries(mysql_utils)


add_executable(mysql_utils01 main.cpp)

# 链接 MySharedLib 库
target_link_libraries(mysql_utils01 mysql_utils)